<div id="header-top">
    <div class="container">
        <?php if($this->ion_auth->logged_in()){?>
            <form action="<?php echo site_url('/inicio/logout/')?>" method="post">
                <p class="left">
                    <?php echo lang('bienvenido')?>:&nbsp;<b><?php echo $this->ion_auth->user()->row()->username;?></b> |
                    <input type="submit" class="botonSimple" value="<?php echo lang('desconectar')?>"/>
                </p>
            </form>
        <?php }else{?>
            <a href="<?php echo site_url('crud/login')?>" class="botonSimple"><?php echo lang('acceder')?></a>&nbsp;&nbsp;|&nbsp;&nbsp;
            <a href="<?php echo site_url('crud/registrar')?>" class="botonSimple"><?php echo lang('registrarse')?></a>
        <?php }?>
        <p class="right">Subscribe to <a href="<?php echo site_url('feed');?>">RSS</a> | <a href="#">Email</a> | <strong>122 Subscribers</strong></p>
    </div><!-- end .container -->
</div><!-- end #header-top -->

<div id="header">
    <div class="container">
        <h1 id="logo">
            <a href="<?php echo site_url()?>">
                <img src="/ventatron/public/templates/traveltemplate/img/logo.png" alt="Travel Guide">
            </a>
        </h1>
    </div><!-- end .container -->
</div><!-- end #header -->

<div id="nav">
    <div class="container">
        <ul>
            <li class="active"><a href="<?php echo site_url()?>"><?php echo lang('inicio');?></a></li>
            <li><a href="<?php echo site_url('front/blog')?>"><?php echo lang('noticias');?></a></li>
        </ul>

        <div id="search">
            <input type="text" class="input" value="" placeholder="Keyword search here...">
            <input type="submit" class="submit" value="Go">
        </div><!-- end #search -->
    </div><!-- end .container -->

</div><!-- end #nav -->

